<?php
class mymobile{

      public static function hide($str, $replace="****", $posOpen=1, $posClose=4) {
          return hide($str, $replace="****", $posOpen=1, $posClose=4);
      }

    public static function isMobile($v) {
        return preg_match('/^1[0-9]\d{9}?$/', $v);
    }

}